<?php
/**
 * Author: Administrator
 * Date: 2022/7/24 17:45
 */

namespace DesignPatterns\Behavioral\Mediator;


class Client extends Colleague
{

    public function makeRequest() {
        return $this->getMediator()->handleRequest(['query' => 'hello']);
    }

    public function output($data) {
        echo $data;
    }

}